
/******************************************************************************
*(C) Copyright 2019-2022 ASR Microelectronics
* All Rights Reserved
******************************************************************************/

#ifndef BT_API_SPP_H
#define BT_API_SPP_H

#include "bt_api.h"

int appbt_spp_connect(struct bt_addr addr);
int appbt_spp_disconnect(u_int16 spp_port);
int appbt_spp_send_data(u_int8* data, u_int16 length, u_int16 spp_port);

void bt_usr_handle_spp(struct bt_task_event * msg);

#endif
